/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package umled.model;

import java.awt.Graphics2D;
import org.w3c.dom.*;
/**
 *
 * @author ANor
 */
public abstract class UMLType extends UMLComponent {
    public UMLType(String name, UMLElement parent, int xPos, int yPos, int width, int height, UMLVisible visible){
        super(name, parent, xPos, yPos, width, height, visible);
    }
    public void drawLink(Graphics2D g2d, UMLType from, int x, int y){
        //TODO
    }
    @Override
    public String toString(){
        return getName();
    }
    @Override
    public Element getXML( Document document ){
        Element element = super.getXML( document );
        return element;
    }
}
